package com.test.domain.fruit.service.fruit;

public class StrawberryStrategy implements FruitBuyStrategy{

    private static final double strawberry_price = 13.0;


    @Override
    public double calculatePrice(int weight) {
        return strawberry_price * weight;
    }

    @Override
    public double calculatePriceByDiscout(int weight,double discout){
        return strawberry_price * weight * discout;
    }
}
